{% extends "base.html" %}

{% block title%}
  DOSPADEL
{% endblock %}



{% block content %}
{{ super() }}
<div class="row-fluid" id="content-bar">
  <div class="row-fluid">
    <div>
      {% if reserve.status == "Completed" %}
      <p>Pago completado</p>
      {% else %}
      <p>Reserva pendiente de pago</p>
      {% endif %}
    </div>

    <form action="/cancel_reserve" method="POST">
      <input type="hidden" name="paykey" value="{{reserve.paykey}}"/>
      <input class="btn btn-small" type="submit" value="Cancelar"/>
    </form>
    <button class="btn btn-small"><i class="icon-trash"></i> Delete</button>
    
  </div>
</div>
{% endblock content %}


{% block page_header %}
<h1>Details <small>reserva {{reserve.paykey}}</small></h1>
{% endblock page_header %}

{% block breadcrumb%}
<li><a href="/">User</a><span class="divider">/</span></li>
<li><a href="/reserves">My Reserves</a><span class="divider">/</span></li>
<li class="active">{{reserve.paykey}}</li>
{% endblock breadcrumb %}
